package com.th.supcom.pds.internal.client.model;

import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * PatientInfo UI模型.
 * 
 */
public class PatientInfoModel extends BaseModelData implements java.io.Serializable
{
    /**
     * 
     */
    private static final long serialVersionUID = -6333920615844325823L;

    /**
     * 默认构造器 .
     */
    public PatientInfoModel ()
    {

    }

    /**
     * 获取病人ID.
     * 
     * @return the String
     */
    public String getPatiId ()
    {
        return get ("patiId");
    }

    /**
     * 设置病人ID.
     * 
     * @param patiId the patiId to set.
     */
    public void setPatiId (String patiId)
    {
        set ("patiId", patiId);
    }
    /**
     * 得到患者流水
     * @return
     * add by Zli
     */
    public Long getOutpVisitId ()
    {
    
        return get ("outpVisitId");
    }
/**
 * 设置患者流水
 * @param outpVisitId
 * add by Zli
 */
    public void setOutpVisitId (Long outpVisitId)
    {
    
        set ("outpVisitId", outpVisitId);
    }
    /**
     * 获取余额.
     * 
     * @return the Double
     */
    public Double getBalance ()
    {
        return get ("balance");
    }

    /**
     * 设置余额.
     * 
     * @param balance the balance to set.
     */
    public void setBalance (Double balance)
    {
        set ("balance", balance);
    }

    /**
     * 获取身份证.
     * 
     * @return the String
     */
    public String getIdCard ()
    {
        return get ("idCard");
    }

    /**
     * 设置身份证.
     * 
     * @param idCard the idCard to set.
     */
    public void setIdCard (String idCard)
    {
        set ("idCard", idCard);
    }

    /**
     * 获取姓名 .
     * 
     * @return the String
     */
    public String getName ()
    {
        return get ("name");
    }

    /**
     * 设置姓名 .
     * 
     * @param name the name to set.
     */
    public void setName (String name)
    {
        set ("name", name);
    }

    /**
     * 获取性别.
     * 
     * @return the String
     */
    public String getSex ()
    {
        return get ("sex");
    }

    /**
     * 设置性别.
     * 
     * @param sex the sex to set.
     */
    public void setSex (String sex)
    {
        set ("sex", sex);
    }
    /**
     * 获取年龄.
     * 
     * @return the String
     */
    public String getAge()
    {
        return get ("age");
    }
    
    /**
     * 设置年龄.
     * 
     * @param set the age to set.
     */
    public void setAge (String age)
    {
        set ("age", age);
    }

    /**
     * 获取手机号.
     * 
     * @return the String
     */
    public String getPhone ()
    {
        return get ("phone");
    }

    /**
     * 设置手机号.
     * 
     * @param phone the phone to set.
     */
    public void setPhone (String phone)
    {
        set ("phone", phone);
    }

    /**
     * 获取出生日期.
     * 
     * @return the Date
     */
    public Date getBirthDate ()
    {
        return get ("birthDate");
    }

    /**
     * 设置出生日期.
     * 
     * @param birthDate the birthDate to set.
     */
    public void setBirthDate (Date birthDate)
    {
        set ("birthDate", birthDate);
    }

    /**
     * 获取费别.
     * 
     * @return the String
     */
    public String getChargeType ()
    {
        return get ("chargeType");
    }

    /**
     * 设置费别.
     * 
     * @param chargeType the chargeType to set.
     */
    public void setChargeType (String chargeType)
    {
        set ("chargeType", chargeType);
    }

    /**
     * 获取就诊科室代码.
     * 
     * @return the String
     */
    public String getDeptCode ()
    {
        return get ("deptCode");
    }

    /**
     * 设置就诊科室代码.
     * 
     * @param deptCode the deptCode to set.
     */
    public void setDeptCode (String deptCode)
    {
        set ("deptCode", deptCode);
    }

    /**
     * 获取就诊科室名称.
     * 
     * @return the String
     */
    public String getDeptName ()
    {
        return get ("deptName");
    }

    /**
     * 设置就诊科室名称.
     * 
     * @param deptName the deptName to set.
     */
    public void setDeptName (String deptName)
    {
        set ("deptName", deptName);
    }

    /**
     * 获取持卡类型.
     * 
     * @return the String
     */
    public String getCardType ()
    {
        return get ("cardType");
    }

    /**
     * 设置持卡类型.
     * 
     * @param cardType the cardType to set.
     */
    public void setCardType (String cardType)
    {
        set ("cardType", cardType);
    }

    /**
     * 获取卡号.
     * 
     * @return the String
     */
    public String getCardNo ()
    {
        return get ("cardNo");
    }

    /**
     * 设置卡号.
     * 
     * @param cardNo the cardNo to set.
     */
    public void setCardNo (String cardNo)
    {
        set ("cardNo", cardNo);
    }

    /**
     * 获取磁道信息.
     * 
     * @return the String
     */
    public String getTrackData ()
    {
        return get ("trackData");
    }

    /**
     * 设置磁道信息.
     * 
     * @param trackData the trackData to set.
     */
    public void setTrackData (String trackData)
    {
        set ("trackData", trackData);
    }

    /** 就诊开始日期. */
    public Date getVisitBeginDates ()
    {
        return get ("visitBeginDate");
    }

    public void setVisitBeginDate (Date visitBeginDate)
    {
        set ("visitBeginDate", visitBeginDate);
    }

    /** 在科天数. */
    public Integer getVisitDay ()
    {
        return get ("visitDay");
    }

    public void setVisitDay (Integer visitDay)
    {
        set ("visitDay", visitDay);
    }

    /** 就诊次数. */
    public Long getVisitId ()
    {
        return get ("visitId");
    }

    public void setVisitId (Long visitId)
    {
        set ("visitId", visitId);
    }

    /** 床位号. */
    public String getBedCode ()
    {
        return get ("bedCode");
    }

    public void setBedCode (String bedCode)
    {
        set ("bedCode", bedCode);
    }

    /**
     * 获取 医院代码.
     * @return
     */
    public String getHospitalAreaCode ()
    {
        return get ("hospitalAreaCode");
    }

    /**
     * 设置 医院代码.
     * @param hospitalAreaCode
     */
    public void setHospitalAreaCode (String hospitalAreaCode)
    {
        set ("hospitalAreaCode", hospitalAreaCode);
    }

    /**
     * 获取 医院代码.
     * @return
     */
    public String getHospitalName ()
    {
        return get ("hospitalName");
    }

    /**
     * 设置 医院代码.
     * @param hospitalName
     */
    public void setHospitalName (String hospitalName)
    {
        set ("hospitalName", hospitalName);
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}